package com.pig4cloud.mall.product.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author fangyu
 * @date 2020-11-25 14:58:58
 */
@Data
@TableName("undo_log")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "")
public class UndoLog extends Model<UndoLog> {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@TableId
	@ApiModelProperty(value = "")
	private Long id;
	/**
	 *
	 */
	@ApiModelProperty(value = "")
	private Long branchId;
	/**
	 *
	 */
	@ApiModelProperty(value = "")
	private String xid;
	/**
	 *
	 */
	@ApiModelProperty(value = "")
	private String context;
	/**
	 *
	 */
	@ApiModelProperty(value = "")
	private Long rollbackInfo;
	/**
	 *
	 */
	@ApiModelProperty(value = "")
	private Integer logStatus;
	/**
	 *
	 */
	@ApiModelProperty(value = "")
	private LocalDateTime logCreated;
	/**
	 *
	 */
	@ApiModelProperty(value = "")
	private LocalDateTime logModified;
	/**
	 *
	 */
	@ApiModelProperty(value = "")
	private String ext;
}
